package com.qf.mapper;

import com.qf.pojo.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TypeMapper {

    List<Type> getAllC1Types();

    List<Type> getAllC2Types(Integer info2);

    List<Type> getAllC3Types(@Param("info2") Integer info2,@Param("parent") Integer parent);

    int add(Type type);
}
